package com.example.common.pojo;

import java.util.Date;

public class BorrowType {
    private Integer id;

    private String minRate;

    private String maxRate;

    private String borrowTypeName;

    private String description;

    private Date createTime;

    public BorrowType(Integer id, String minRate, String maxRate, String borrowTypeName, String description, Date createTime) {
        this.id = id;
        this.minRate = minRate;
        this.maxRate = maxRate;
        this.borrowTypeName = borrowTypeName;
        this.description = description;
        this.createTime = createTime;
    }

    public BorrowType() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMinRate() {
        return minRate;
    }

    public void setMinRate(String minRate) {
        this.minRate = minRate == null ? null : minRate.trim();
    }

    public String getMaxRate() {
        return maxRate;
    }

    public void setMaxRate(String maxRate) {
        this.maxRate = maxRate == null ? null : maxRate.trim();
    }

    public String getBorrowTypeName() {
        return borrowTypeName;
    }

    public void setBorrowTypeName(String borrowTypeName) {
        this.borrowTypeName = borrowTypeName == null ? null : borrowTypeName.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
